home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
AMIGA
/
(A)F
/
(A)F1.ADF
/
microfnt.asm
< prev
next >
Wrap
Assembly Source File
|
1986-06-01
|
4KB
|
109 lines
******************************************************************
*
* MICRO.FONT
* A Very Small Character Set
*
* by:Bobby Deen
* 629 Winchester Dr.
* Richardson, Texas 75080
* Permanent (Home) phone: (214) 235-4391
* Temporary (School) phone: (409) 268-0207
*
* Please give this font to anyone and everyone.
* All I ask is that you retain the credits.
*
* All 96 printable characters are defined in a 3X5 matrix.
* It may be a little hard to read, but you can't get much smaller.
*
* See ROM Kernel Manual (V1.1) p. 2-202.
* Assemble and link this file and store in fonts/micro/6
* assem microfnt.asm -o font.o -i :include
* alink font.o to font
* makedir workbench:fonts/micro
* copy font workbench:fonts/micro/6
* Run companion program makefont.c to make fonts/micro.font
*
******************************************************************
INCLUDE "exec/types.i"
INCLUDE "exec/nodes.i"
INCLUDE "libraries/diskfont.i"
MOVEQ #0,D0 ;provide easy exit in case someone runs it
RTS
DC.L 0 ;ln_Succ
DC.L 0 ;ln_Pred
DC.B NT_FONT ;ln_Type
DC.B 0 ;ln_Pri
DC.L fontName ;ln_Name
DC.W DFH_ID ;FileID
DC.W 1 ;Revision
DC.L 0 ;Segment
fontName:
DS.B MAXFONTNAME ;Name
font:
DC.L 0 ;ln_Succ
DC.L 0 ;ln_Pred
DC.B NT_FONT ;ln_Type
DC.B 0 ;ln_Pri
DC.L fontName ;ln_Name
DC.L 0 ;mn_ReplyPort
DC.W fontEnd-font ;mn_Length
DC.W 6 ;tf_YSize
DC.B 0 ;tf_Style
DC.B 0 ;tf_Flags
DC.W 4 ;tf_XSize
DC.W 5 ;tf_Baseline
DC.W 0 ;tf_BoldSmear
DC.W 0 ;tf_Accessors
DC.B $20 ;tf_LoChar
DC.B $7F ;tf_HiChar
DC.L fontData ;tf_CharData
DC.W 36 ;tf_Modulo
DC.L fontLoc ;tf_CharLoc
DC.L 0 ;tf_CharSpace
DC.L 0 ;tf_CharKern
************************************************************
fontData:
DC.L $0AD55231,$0001EB6B,$DFFC0226,$CB3DFBBC,$D94ACB3F
DC.L $6DB7B980,$9A029388,$CC000004,$0000358D
DC.L $0AFE6A4B,$A001B89B,$21B425D1,$36CB24A8,$D9EDB6C5
DC.L $6DB4A890,$46036D80,$4540CC6E,$051724BA
DC.L $0854904B,$F1C2A96F,$B2FD080A,$FF4BB5E8,$E9FDD725
DC.L $6D5D24A8,$2F37E3C8,$D5F2B745,$6DAD4465
DC.L $007F284B,$A404AA12,$6CA425D0,$F6CB25AA,$D96D9E95
DC.L $57AA2280,$16CB31A8,$E5EDCEA5,$6F462482
DC.L $08555831,$0814FFE3,$94E54222,$F73DE3BD,$5F6A8EE5
DC.L $D5ABB387,$0F36E6AB,$5F6A8665,$D5BB3585
DC.L $00000000,$00000000,$00000000,$00000000,$00000000
DC.L $00000000,$00000000,$00000000,$00000000
************************************************************
fontLoc:
DC.L $00000003,$00030003,$00060003,$00090003
DC.L $000C0003,$000F0003,$00120003,$00150003
DC.L $00180003,$001B0003,$001E0003,$00210003
DC.L $00240003,$00270003,$002A0003,$002D0003
DC.L $00300003,$00330003,$00360003,$00390003
DC.L $003C0003,$003F0003,$00420003,$00450003
DC.L $00480003,$004B0003,$004E0003,$00510003
DC.L $00540003,$00570003,$005A0003,$005D0003
DC.L $00600003,$00630003,$00660003,$00690003
DC.L $006C0003,$006F0003,$00720003,$00750003
DC.L $00780003,$007B0003,$007E0003,$00810003
DC.L $00840003,$00870003,$008A0003,$008D0003
DC.L $00900003,$00930003,$00960003,$00990003
DC.L $009C0003,$009F0003,$00A20003,$00A50003
DC.L $00A80003,$00AB0003,$00AE0003,$00B10003
DC.L $00B40003,$00B70003,$00BA0003,$00BD0003
DC.L $00C00003,$00C30003,$00C60003,$00C90003
DC.L $00CC0003,$00CF0003,$00D20003,$00D50003
DC.L $00D80003,$00DB0003,$00DE0003,$00E10003
DC.L $00E40003,$00E70003,$00EA0003,$00ED0003
DC.L $00F00003,$00F30003,$00F60003,$00F90003
DC.L $00FC0003,$00FF0003,$01020003,$01050003
DC.L $01080003,$010B0003,$010E0003,$01110003
DC.L $01140003,$01170003,$011A0003,$011D0003
fontEnd:
END